package com.ptu.service;

import com.ptu.entity.PageTools;
import com.ptu.entity.Punishment;

import java.util.List;

public interface PunishmentService {
    List<Punishment> findPunMore(String punname, String pundate);

    PageTools<Punishment> findPunAll(int pageSize, int pageNumber);

    int addPunishment(Punishment pun);

    int removePun(Integer punid);

    int changePun(Punishment pun);

    Punishment findPunByPid(Integer punid);

    List<Punishment> findAll();
}
